Component org.nuxeo.ecm.user.center.oauth.layouts
In bundle org.nuxeo.ecm.user.center.oauth
Resolution Order
926
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime
framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.
Contributions
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.user.center.oauth.layouts">
<extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
point="layouts">
<layout name="oAuth2AuthorizedApplications">
<templates>
<template mode="any">
/layouts/layout_authorized_applications_template.xhtml
</template>
</templates>
<rows>
<row>
<widget>oAuth2ApplicationName</widget>
</row>
<row>
<widget>oAuth2ApplicationAuthorizationDate</widget>
</row>
</rows>
<widget name="oAuth2ApplicationName" type="text">
<labels>
<label mode="any">label.oauth2.authorizedApp.name</label>
</labels>
<translated>true</translated>
<fields>
<field>applicationName</field>
</fields>
</widget>
<widget name="oAuth2ApplicationAuthorizationDate" type="datetime">
<labels>
<label mode="any">label.oauth2.authorizedApp.authorizationDate</label>
</labels>
<translated>true</translated>
<fields>
<field>applicationAuthorizationDate</field>
</fields>
</widget>
</layout>
<layout name="oAuthAuthorizedApplications">
<templates>
<template mode="any">
/layouts/layout_authorized_applications_template.xhtml
</template>
</templates>
<rows>
<row>
<widget>appId</widget>
</row>
<row>
<widget>creationDate</widget>
</row>
<row>
<widget>duration</widget>
</row>
</rows>
<widget name="appId" type="text">
<labels>
<label mode="any">AppId (Gadget) </label>
</labels>
<translated>true</translated>
<fields>
<field>oauthToken.appId</field>
</fields>
<properties mode="any">
<property name="help">
label.oauth.help.appId
</property>
</properties>
</widget>
<widget name="creationDate" type="datetime">
<labels>
<label mode="any">Creation Date </label>
</labels>
<translated>true</translated>
<fields>
<field>oauthToken.creationDate</field>
</fields>
<properties mode="any">
<property name="help">
label.oauth.help.creationDate
</property>
</properties>
</widget>
<widget name="duration" type="int">
<labels>
<label mode="any">Duration (in minutes)</label>
</labels>
<translated>true</translated>
<fields>
<field>oauthToken.durationInMinutes</field>
</fields>
<properties mode="any">
<property name="help">
label.oauth.help.durationInMinutes
</property>
</properties>
</widget>
</layout>
<layout name="oauth2ProviderTokenLayoutUserDashboard">
<templates>
<template mode="any">
/directory/directoryOAuth_layout_template.xhtml
</template>
</templates>
<rows>
<row>
<widget>id</widget>
</row>
<row>
<widget>serviceName</widget>
</row>
<row>
<widget>serviceLogin</widget>
</row>
<row>
<widget>creationDate</widget>
</row>
<row>
<widget>isShared</widget>
</row>
<row>
<widget>sharedWith</widget>
</row>
</rows>
<widget name="id" type="text">
<labels>
<label mode="any">label.oauth.token.id</label>
</labels>
<translated>true</translated>
<fields>
<field>oauth2Token.id</field>
</fields>
<widgetModes>
<mode value="edit">hidden</mode>
</widgetModes>
</widget>
<widget name="serviceName" type="text">
<labels>
<label mode="any">label.oauth.token.serviceName</label>
</labels>
<translated>true</translated>
<fields>
<field>oauth2Token.serviceName</field>
</fields>
</widget>
<widget name="serviceLogin" type="text">
<labels>
<label mode="any">label.oauth.token.serviceLogin</label>
</labels>
<translated>true</translated>
<fields>
<field>oauth2Token.serviceLogin</field>
</fields>
</widget>
<widget name="creationDate" type="datetime">
<labels>
<label mode="any">label.oauth.token.creationDate</label>
</labels>
<translated>true</translated>
<fields>
<field>oauth2Token.creationDate</field>
</fields>
</widget>
<widget name="isShared" type="checkbox">
<labels>
<label mode="any">label.oauth.token.isShared</label>
</labels>
<translated>true</translated>
<fields>
<field>oauth2Token.isShared</field>
</fields>
</widget>
<widget name="sharedWith" type="multipleUsersSuggestion">
<labels>
<label mode="any">label.oauth.token.sharedWith</label>
</labels>
<fields>
<field>#{oauthUserTokens.sharedWith}</field>
</fields>
<properties widgetMode="edit">
<property name="prefixed">true</property>
<property name="minChars">3</property>
<property name="hideHelpLabel">false</property>
</properties>
<widgetModes>
<mode value="view_list">hidden</mode>
<mode value="view_list_and_header">hidden</mode>
</widgetModes>
</widget>
</layout>
</extension>
</component>